package beans;

import entities.Cajas;
import controllers.CajasFacade;
import java.io.Serializable;
import javax.annotation.PostConstruct;
import javax.ejb.EJB;
import javax.faces.bean.ManagedBean;
import javax.faces.bean.ViewScoped;

@ManagedBean(name = "cajasController")
@ViewScoped
public class CajasController extends AbstractController<Cajas> implements Serializable {

    @EJB
    private CajasFacade ejbFacade;

    public CajasController() {
        super(Cajas.class);
    }

    @PostConstruct
    public void init() {
        super.setFacade(ejbFacade);
    }
}
